package org.fhm.zdte.client.ability;

import org.fhm.zdte.common.constant.protocol.ConnectStatus;

/**
 * The interface <b>IIsConnected</b>'s implementation is used determine whether the target is connected.
 *
 * @author tanbo
 * @since 2024/3/26
 */
public interface IGetConnectState {

    /**
     * Obtain the specified identification's the state of connection.
     *
     * @param target The target identification.
     * @return <b>true</b> indicates target is connected, while <b>false</b> is not connected.
     */
    ConnectStatus getConnectState(String target);

}
